import unittest,time
from selenium import webdriver
from po_126mail.Page.Page11 import Page11
from ddt import ddt,file_data

@ddt
class TestCase(unittest.TestCase):
    def setUp(self):
        self.driver = webdriver.Firefox()

    def tearDown(self):
        time.sleep(3)
        self.driver.quit()

    @file_data(r'E:\gg4\PythonProject1\po_126mail\Data\yaml.yaml')
    def test_011(self,username,password):
        po = Page11(self.driver)
        po.login_011(username,password)